﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrador/Asistente/Master_Asistente.master" AutoEventWireup="true" CodeFile="ExcentoPago.aspx.cs" Inherits="Administrador_Asistente_ExcentoPago" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<link rel="stylesheet" href="../../style.css" type="text/css" media="all" />

<h1>Alumnos Excentos de Pago</h1>

    <%ArrayList lista = new ArrayList();
       lista=(ArrayList)Session["Lista"];%>

<div id="tablewrapper">
		<div id="tableheader">
        	<div class="search">
                <select id="columns" onchange="sorter.search('query')"></select>
                <input type="text" id="query" onkeyup="sorter.search('query')" />
            </div>
        </div>

        <table cellpadding="0" cellspacing="0" border="0" id="table1" class="tinytable">
            <thead>
            
                <tr>
                    <th class="nosort"><h3>Matricula</h3></th>
                    <th><h3>Nombre</h3></th>
                    <th><h3>Apellido</h3></th>
                    <th><h3>Grupo</h3></th>
                    <th><h3>E-mail</h3></th>
                    <th><h3>Seleccionar</h3></th> 

       
                </tr>
            </thead>
            <tbody>
                <%for (int i = 0; i < lista.Count; i++)
                  { 
                      alumNopay np = new alumNopay();
                      np =(alumNopay)lista[i];
                      %>
                <tr>
                    <td><%=np.Matricula %></td>
                    <td><%=np.Nombre %></td>
                    <td><%=np.Amaterno %> <%=np.Apaterno %></td>
                    <td><%=np.Grupo %></td>
                    <td style="width: 184px"><a href="mailto:#"><%=np.Email %></a></td>
                    <td align="center"><a href="inscrtivirso.aspx?Maticula=<%=np.Matricula %>"><%=np.Matricula %></a>
                    </td>

                </tr>
                <%} %>
                </tbody>
        </table>
        
        <div id="tablefooter">
          <div id="tablenav">
            	<div>
                    <img src="../../images/previous.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1)" />
                    <img src="../../images/next.gif" width="16" height="16" alt="First Page" onclick="sorter.move(1)" />
                    <img src="../../images/last.gif" width="16" height="16" alt="Last Page" onclick="sorter.move(1,true)" />
                </div>
                <div>
                	<select id="pagedropdown"></select>
				</div>
                <div>
                	<a href="javascript:sorter.showall()">Ver todos</a>
                </div>
            </div>
    </div>


    </div>
    <script src="../../script.js" type="text/javascript"></script>
	<script type="text/javascript">
	    var sorter = new TINY.table.sorter('sorter', 'table1', {
	        headclass: 'head',
	        ascclass: 'asc',
	        descclass: 'desc',
	        evenclass: 'evenrow',
	        oddclass: 'oddrow',
	        evenselclass: 'evenselected',
	        oddselclass: 'oddselected',
	        paginate: true,
	        size: 10,
	        colddid: 'columns',
	        currentid: 'currentpage',
	        totalid: 'totalpages',
	        startingrecid: 'startrecord',
	        endingrecid: 'endrecord',
	        totalrecid: 'totalrecords',
	        hoverid: 'selectedrow',
	        pageddid: 'pagedropdown',
	        navid: 'tablenav',
	        sortcolumn: 1,
	        sortdir: 1,
	        sum: [8],
	        avg: [6, 7, 8, 9],
	        columns: [{ index: 7, format: '%', decimals: 1 }, { index: 8, format: '$', decimals: 0}],
	        init: true
	    });
  </script>

</asp:Content>

    